<?php slot("ms","file.ls")?>
<h1><?php echo __('Lista de Archivos')?></h1>
<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Name</th>
      <th>Original name</th>
      <th>Url</th>
      <th>Status</th>
      <th>Title</th>
      <th>Description</th>
      <th>Destino</th>
      <th>Created at</th>
      <th>Updated at</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($file_uploads as $file_upload): ?>
    <tr>
      <td><a href="<?php echo url_for('fileupload/show?id='.$file_upload->getId()) ?>"><?php echo $file_upload->getId() ?></a></td>
      <td><?php echo $file_upload->getName() ?></td>
      <td><?php echo $file_upload->getOriginalName() ?></td>
      <td><?php echo $file_upload->getUrl() ?></td>
      <td><?php echo $file_upload->getStatus() ?></td>
      <td><?php echo $file_upload->getTitle() ?></td>
      <td><?php echo $file_upload->getDescription() ?></td>
      <td><?php echo $file_upload->getDestino() ?></td>
      <td><?php echo $file_upload->getCreatedAt() ?></td>
      <td><?php echo $file_upload->getUpdatedAt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('fileupload/new') ?>">New</a>
